package com.ocom.common.request.payhandle;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class QrCodeCancelRequest {
	/**
	 * companyId	单位编号	int
	 * machNo	出厂号	String
	 */
	@Min(1L)
	@NotNull(message = "companyId 不能为空")
	Long companyId;
	@NotBlank(message = "machNo 不能为空")
	String machNo;
	@NotBlank(message = "tradeNo 不能为空")
	String tradeNo;
	@Min(1)
	@NotNull(message = "amount 不能为空")
	Integer amount;
	@NotBlank(message = "authCode 不能为空")
	String authCode;
}
